#include "stdafx.h"


#pragma once
#include "Component.h"
//An Entity is something that has a position, orientation and scale (given by a scenenode). 
//It is given its unique behavior by adding components
namespace Ogrity{
	class Model : public Component{
	public:
		Model(Ogre::SceneManager* sceneMgr, std::string name, std::string meshName):m_name(name), m_meshName(meshName){ m_entity = sceneMgr->createEntity(name, meshName); }


		
	private:
		Ogre::Entity* m_entity;
		std::string m_name;
		std::string m_meshName;
	};
}